package com.drug.mingkang.model;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * 分公司采购(ImmPurchase)实体类
 *
 * @author wenchangjian
 * @since 2020-08-11 12:00:14
 */
public class ImmPurchase implements Serializable {
    private static final long serialVersionUID = 821094899320551060L;
  /**
    * 采购单id
    */
    private String purchaseId;
  /**
    * 分公司ID
    */
    private String immId;
  /**
    * 采购总数量
    */
    private Integer purchaseCount;
  /**
    * 采购总金额
    */
    private Double purchaseMoney;
  /**
    * 采购人
    */
    private String operator;
  /**
    * 采购时间
    */
    private Date purchaseTime;
  /**
    * 是否有效
    */
    private Integer isva;
  /**
    * 排序
    */
    private Integer sort;
  /**
    * 备注
    */
    private String remark;


    /**
     * 采购明细类
     */
    private List<ImmPurchaseDeatis> ImmPurchaseDeatisList;


    /**
     * 分公司名称
     */
    private String immName;

    public String getImmName() {
        return immName;
    }

    public void setImmName(String immName) {
        this.immName = immName;
    }

    public List<ImmPurchaseDeatis> getImmPurchaseDeatisList() {
        return ImmPurchaseDeatisList;
    }

    public void setImmPurchaseDeatisList(List<ImmPurchaseDeatis> immPurchaseDeatisList) {
        ImmPurchaseDeatisList = immPurchaseDeatisList;
    }

    public String getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(String purchaseId) {
        this.purchaseId = purchaseId;
    }
  
    public String getImmId() {
        return immId;
    }

    public void setImmId(String immId) {
        this.immId = immId;
    }
  
    public Integer getPurchaseCount() {
        return purchaseCount;
    }

    public void setPurchaseCount(Integer purchaseCount) {
        this.purchaseCount = purchaseCount;
    }
  
    public Double getPurchaseMoney() {
        return purchaseMoney;
    }

    public void setPurchaseMoney(Double purchaseMoney) {
        this.purchaseMoney = purchaseMoney;
    }
  
    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
  
    public Date getPurchaseTime() {
        return purchaseTime;
    }

    public void setPurchaseTime(Date purchaseTime) {
        this.purchaseTime = purchaseTime;
    }
  
    public Integer getIsva() {
        return isva;
    }

    public void setIsva(Integer isva) {
        this.isva = isva;
    }
  
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
  
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "ImmPurchase{" +
                "purchaseId='" + purchaseId + '\'' +
                ", immId='" + immId + '\'' +
                ", purchaseCount=" + purchaseCount +
                ", purchaseMoney=" + purchaseMoney +
                ", operator='" + operator + '\'' +
                ", purchaseTime=" + purchaseTime +
                ", isva=" + isva +
                ", sort=" + sort +
                ", remark='" + remark + '\'' +
                '}';
    }
}